package com.example.service.user;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.example.domain.user;
import org.springframework.context.annotation.Configuration;

import java.util.List;

@Configuration
public interface insertUserservice {
    boolean insert(user users);

    user getByOpenId(String openId);

    Boolean updata(user users);

    List<user> selectall(int a,int b);

    int allnumber();

    IPage<user> getPage(int currentPage, int pageSize, user user);

    IPage<user> getPagebyname(int currentPage, int pageSize, user user);

}
